package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
    "@io_bazel_rules_go//go:def.bzl",
    "go_binary",
    "go_library",
    "go_test",
    "cgo_library",
)

go_library(
    name = "go_default_library",
    srcs = [
        "controller.go",
        "doc.go",
        "import_known_versions.go",
        "master.go",
    ],
    tags = ["automanaged"],
    deps = [
        "//pkg/api:go_default_library",
        "//pkg/api/endpoints:go_default_library",
        "//pkg/api/errors:go_default_library",
        "//pkg/api/install:go_default_library",
        "//pkg/api/rest:go_default_library",
        "//pkg/api/v1:go_default_library",
        "//pkg/apimachinery/registered:go_default_library",
        "//pkg/apis/apps/install:go_default_library",
        "//pkg/apis/apps/v1beta1:go_default_library",
        "//pkg/apis/authentication/install:go_default_library",
        "//pkg/apis/authentication/v1beta1:go_default_library",
        "//pkg/apis/authorization/install:go_default_library",
        "//pkg/apis/authorization/v1beta1:go_default_library",
        "//pkg/apis/autoscaling/install:go_default_library",
        "//pkg/apis/autoscaling/v1:go_default_library",
        "//pkg/apis/batch/install:go_default_library",
        "//pkg/apis/batch/v1:go_default_library",
        "//pkg/apis/certificates/install:go_default_library",
        "//pkg/apis/certificates/v1alpha1:go_default_library",
        "//pkg/apis/componentconfig/install:go_default_library",
        "//pkg/apis/extensions/install:go_default_library",
        "//pkg/apis/extensions/v1beta1:go_default_library",
        "//pkg/apis/imagepolicy/install:go_default_library",
        "//pkg/apis/policy/install:go_default_library",
        "//pkg/apis/policy/v1beta1:go_default_library",
        "//pkg/apis/rbac/install:go_default_library",
        "//pkg/apis/rbac/v1alpha1:go_default_library",
        "//pkg/apis/storage/install:go_default_library",
        "//pkg/apis/storage/v1beta1:go_default_library",
        "//pkg/client/clientset_generated/internalclientset/typed/core/internalversion:go_default_library",
        "//pkg/client/clientset_generated/release_1_5/typed/core/v1:go_default_library",
        "//pkg/genericapiserver:go_default_library",
        "//pkg/genericapiserver/options:go_default_library",
        "//pkg/healthz:go_default_library",
        "//pkg/kubelet/client:go_default_library",
        "//pkg/master/thirdparty:go_default_library",
        "//pkg/registry/apps/rest:go_default_library",
        "//pkg/registry/authentication/rest:go_default_library",
        "//pkg/registry/authorization/rest:go_default_library",
        "//pkg/registry/autoscaling/rest:go_default_library",
        "//pkg/registry/batch/rest:go_default_library",
        "//pkg/registry/certificates/rest:go_default_library",
        "//pkg/registry/core/namespace:go_default_library",
        "//pkg/registry/core/rangeallocation:go_default_library",
        "//pkg/registry/core/rest:go_default_library",
        "//pkg/registry/core/service:go_default_library",
        "//pkg/registry/core/service/ipallocator/controller:go_default_library",
        "//pkg/registry/core/service/portallocator/controller:go_default_library",
        "//pkg/registry/extensions/rest:go_default_library",
        "//pkg/registry/generic:go_default_library",
        "//pkg/registry/generic/registry:go_default_library",
        "//pkg/registry/policy/rest:go_default_library",
        "//pkg/registry/rbac/rest:go_default_library",
        "//pkg/registry/storage/rest:go_default_library",
        "//pkg/routes:go_default_library",
        "//pkg/runtime/schema:go_default_library",
        "//pkg/util/async:go_default_library",
        "//pkg/util/intstr:go_default_library",
        "//pkg/util/net:go_default_library",
        "//pkg/util/node:go_default_library",
        "//pkg/util/runtime:go_default_library",
        "//pkg/util/wait:go_default_library",
        "//vendor:github.com/golang/glog",
        "//vendor:github.com/prometheus/client_golang/prometheus",
    ],
)

go_test(
    name = "go_default_test",
    srcs = [
        "controller_test.go",
        "import_known_versions_test.go",
        "master_test.go",
    ],
    library = "go_default_library",
    tags = ["automanaged"],
    deps = [
        "//pkg/api:go_default_library",
        "//pkg/api/testapi:go_default_library",
        "//pkg/api/unversioned:go_default_library",
        "//pkg/api/v1:go_default_library",
        "//pkg/apimachinery/registered:go_default_library",
        "//pkg/apis/apps:go_default_library",
        "//pkg/apis/apps/v1beta1:go_default_library",
        "//pkg/apis/autoscaling:go_default_library",
        "//pkg/apis/autoscaling/v1:go_default_library",
        "//pkg/apis/batch:go_default_library",
        "//pkg/apis/batch/v1:go_default_library",
        "//pkg/apis/batch/v2alpha1:go_default_library",
        "//pkg/apis/certificates:go_default_library",
        "//pkg/apis/extensions:go_default_library",
        "//pkg/apis/extensions/v1beta1:go_default_library",
        "//pkg/apis/rbac:go_default_library",
        "//pkg/client/clientset_generated/internalclientset/fake:go_default_library",
        "//pkg/client/clientset_generated/release_1_5/fake:go_default_library",
        "//pkg/client/restclient:go_default_library",
        "//pkg/client/testing/core:go_default_library",
        "//pkg/generated/openapi:go_default_library",
        "//pkg/genericapiserver:go_default_library",
        "//pkg/kubelet/client:go_default_library",
        "//pkg/registry/registrytest:go_default_library",
        "//pkg/runtime:go_default_library",
        "//pkg/runtime/schema:go_default_library",
        "//pkg/storage/etcd/testing:go_default_library",
        "//pkg/util/intstr:go_default_library",
        "//pkg/util/net:go_default_library",
        "//pkg/util/sets:go_default_library",
        "//pkg/version:go_default_library",
        "//vendor:github.com/go-openapi/loads",
        "//vendor:github.com/go-openapi/spec",
        "//vendor:github.com/go-openapi/strfmt",
        "//vendor:github.com/go-openapi/validate",
        "//vendor:github.com/stretchr/testify/assert",
    ],
)
